package cn.tedu.ykmall.pojo.userClient.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class User implements Serializable {
    private Long userId;
    private String username; /*varchar(20) not null comment '用户真实姓名',*/
    private String nickname;
    private String password;
    private String phone; /*varchar(80) unsigned comment '手机号',*/
    private String email; /*varchar(50) comment '邮箱',*/
    private Character gender; /*char(1) not null comment '性别',*/
    private Integer userPoint; /*int not null default 0 comment '用户积分',*/
    private Date registerTime; /*timestamp not null comment '注册时间',*/
    private Date birthday; /*datetime not null comment '会员生日',*/
    private Integer customerLevel; /*tinyint not null default 1 comment '会员级别：1 普通会员，2 青铜，3白银，4黄金，5钻石',*/
    private Double userMoney; /*decimal(8,2) not null default 0.00 comment '用户余额',*/
    private LocalDateTime gmtCreate; /*datetime default null comment '数据创建时间',*/
    private LocalDateTime gmtModified; /*datetime default null comment '数据最后修改时间',*/
}
